package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.NewAddressBiz;
import ui.activity.mine.contract.NewAddressContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class NewAddressModule {
    private NewAddressContract.View view;

    public NewAddressModule(NewAddressContract.View view) {
        this.view = view;
    }

    @Provides
    public NewAddressContract.View provideView() {
        return view;
    }

    @Provides
    public NewAddressBiz provideBiz() {
        return new NewAddressBiz();
    }
}